package com.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "微博id",required = true,example = "123")
    private Integer id;
    @ApiModelProperty(value = "微博内容",required = true,example = "123abc啊")
    private String content;
    @JsonFormat(pattern="yyyy年MM月dd号 HH点mm分ss秒",timezone="GMT+8")
    @ApiModelProperty(value = "微博创建时间",required = true,example = "2020年04月01号 12点00分00秒")
    private Date created;
    @ApiModelProperty(value = "用户昵称" ,required = true,example = "挂机")
    private String nickname;
}
